/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ps.yj.y1j0.rest;

import java.util.HashSet;
import java.util.Set;
import javax.ws.rs.core.Application;

/**
 * @author yanjun
 */
public class RestApplication extends Application {
    private Set<Object> _a = new HashSet<Object>();

    public RestApplication() {
        _a.add(new YJRestGet());
        _a.add(new YJRestPost());
        _a.add(new YJRestPut());
        _a.add(new YJRestDelete());
    }

    @Override
    public Set<Object> getSingletons() {
        return _a;
    }
}
